package com.ysd.lis.entity;

import java.math.BigDecimal;
import java.sql.Timestamp;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 质量控制计划明细表
 * </p>
 *
 * @author LiuQi
 * @since 2024-05-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("WK_QUALITY_DETAIL")
public class WkQualityDetail extends BaseEntity2 {

    private static final long serialVersionUID = 1L;

    /**
     * 计划明细编码
     */
    @TableField("DETAIL_CODE")
    private String detailCode;

    /**
     * 计划明细标题
     */
    @TableField("DETAIL_TITLE")
    private String detailTitle;

    /**
     * 开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @TableField("START_DATE")
    private Timestamp startDate;

    /**
     * 结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @TableField("END_DATE")
    private Timestamp endDate;

    /**
     * 节点id
     */
    @TableField("NODE_ID")
    private String nodeId;

    /**
     * 节点名称
     */
    @TableField("NODE_NAME")
    private String nodeName;

    /**
     * 顺序
     */
    @TableField("SEQ")
    private BigDecimal seq;

    /**
     * 计划id
     */
    @TableField("PLAN_ID")
    private String planId;
}
